home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / WINDOWS / PRIMER31.ARJ / MRDOS3.TXT < prev    next >
Text File  |  1992-03-12  |  9KB  |  216 lines

  1. --------------------------------[ DOS LEVEL 1 ]-------------------------------
  2.  
  3. SOFTWARE:  Sets of programs (stored sets of instructions) that govern the
  4. operation of computer system and make the hardware run.  These programs
  5. (instructions) tell the hardware how to perform a particular task such as word
  6. processing, games, database management, etc.
  7.  
  8. DOS
  9. ---
  10. DOS - Disk Operating System - is a piece of software.  However, it is
  11. different from most software because a computer cannot run without it.  It is
  12. the first piece of software that is installed in RAM every time the computer
  13. is turned on.
  14.  
  15. When the user first starts the computer, the DOS files must be available in
  16. either the A drive or on a Hard Disk.  The computer finds the desired DOS
  17. files and automatically loads them into RAM.  This process is often called
  18. "BOOTING" the computer; the computer pulls itself up by its BOOTstraps.
  19.  
  20. TO LOAD DOS
  21. -----------
  22. "Cold" Boot:  Turning the computer on
  23.  
  24. "Warm" Boot:  The computer has already been started, but you wish to
  25.               completely "clean-out" RAM and reload DOS.  This is a
  26.               much faster method of restarting the computer since it
  27.               skips the usual system checks.  To accomplish, you press
  28.               three keys simultaneously: <CTRL><ALT><DEL>
  29.  
  30. DOS performs 2 functions:
  31.  
  32.               1. Links the Hardware
  33.               2. Allows for file management
  34.  
  35. We think of most software as enabling us to create something - like a document
  36. or a spreadsheet.  DOS's mission is vital.  First, it enables the hardware
  37. devices to properly communicate with each other.  It is a set of instructions
  38. so that the computer's brain understands how its arms and legs operate
  39. (keyboard, monitor, printers, etc.).  We take this ability for granted.  It is
  40. like starting a car - many complex systems must work in unison for it to work,
  41. yet we take it for granted that it will start.
  42.  
  43. The second function of DOS is also important.  We must have a means to manage
  44. the files that we save on our Floppy Disks or Hard Drives.  There are times
  45. when we wish to copy these files from one disk to another, erase them, or
  46. determine which files are on a disk.  These tasks are performed often and the
  47. software required to do so is DOS.
  48.  
  49. When DOS has been properly loaded from either a Floppy Disk or a Hard Drive,
  50. the familiar "DOS Prompt" will appear.  This prompt will look something
  51. like this:
  52.  
  53.             A>                                                                  
  54.  
  55. This symbol signals 3 things:
  56.  
  57.               1. DOS has been properly loaded into RAM
  58.               2. "A" is the DEFAULT drive
  59.               3. Is awaiting you next DOS file management command
  60.  
  61. Each disk drive and hard disk has a letter associated with it.  If a drive is
  62. considered the DEFAULT drive, then the computer will always assume that the
  63. information needed is in that drive, OR if something you have created is
  64. saved, it will be saved to that drive UNLESS you tell the computer otherwise.
  65.  
  66. All types of disks contain files.  We use DOS as a software tool to manage
  67. these files.  We not only tell the computer which file we want to erase or
  68. copy but also which drive it is currently in.
  69.  
  70. DOS FILE CONVENTIONS
  71. --------------------
  72. FILES:  Any related set of instructions: programs, documents, spreadsheets,
  73. etc.  A floppy disk is like a file cabinet with each folder representing files
  74. on the disk (in the cabinet).
  75.  
  76. Rules:   filename  | extension (optional)
  77.                    |
  78.     1-8 Characters | 1-3 Characters
  79.     No Spaces      | No Spaces
  80.     Letters/Numbers| Letters/Numbers
  81.  
  82. If an optional extension is used, a period is used to separate the filename
  83. and the extension.
  84.  
  85. Many characters are allowed in file naming.  Only the following are INVALID
  86. for filenames OR extensions:
  87.  
  88.         .   "   /   \   [   ]   :   |   <   >   +   =   ;   ,
  89.  
  90. Each file has a name.  When you want DOS to act on a file, you must specify
  91. its proper name (including its extension if applicable). A file's name is made
  92. up of a filename and an optional extension:
  93.  
  94.      saledata.jly
  95.          │   │ └──Extension (optional) - UP TO 3 CHARACTERS
  96.          │   └─Period required as Separator IF extension used
  97.          └──Filename - UP TO 8 CHARACTERS
  98.  
  99. Some filenames:   SAMPLE
  100.                   SAMPLE.DOC
  101.                   BUDGET.WK1
  102.  
  103. Two files with the same exact name CANNOT exist on the same disk or
  104. subdirectory (subdirectories are covered under Hard Disk Level 1 section).      
  105.  
  106. FILESIZE
  107. --------
  108. Computers use 1 BYTE to represent 1 character such as a letter of the
  109. alphabet, a number, a punctuation mark, a space, etc.  A BYTE is also a unit
  110. of measure since it represents 1 character.  We measure the size of RAM and
  111. files in Bytes.  We also measure the capacity of floppy and hard disks in
  112. Bytes.
  113.  
  114. Because the number of Bytes is often large, we talk about:
  115.  
  116.      KILObytes = 1,000     bytes   (often abbreviated "k")
  117.      MEGAbytes = 1,000,000 bytes   (often abbreviated "meg")
  118.  
  119. Floppy disks come in 2 physical sizes (5.25 inch and 3.5 inch square), with 2
  120. different capacities for each size:
  121.  
  122. 5.25" disks Double Sided, Double Density = 360k
  123.             Double Sided, High Density   = 1.2meg
  124.  
  125. 3.5" disks  Double Sided, Double Density = 720k
  126.             Double Sided, High Density   = 1.4meg
  127.  
  128. Hard drives come is a variety of sizes:
  129.  
  130. 20meg, 30meg, 40meg, 60meg,......350meg and beyond
  131.  
  132.  
  133. FREQUENTLY USED DOS COMMANDS
  134. ----------------------------
  135. When DOS is booted, a copy of INTERNAL DOS commands are placed in the
  136. computer's memory (RAM).  These are called INTERNAL commands because they stay
  137. in RAM until the computer is turned off.  To use these commands you do not
  138. have to reinsert the DOS diskette.
  139.  
  140. The rest of the commands on the DOS disk are called EXTERNAL commands because
  141. they are NOT read into RAM when you boot DOS.  Rather, to use them, DOS must
  142. be accessible in one of the disk drives.
  143.  
  144. The following are some frequently used DOS commands:
  145.  
  146. INTERNAL       │   EXTERNAL (Insert DOS in Drive A)
  147.                │
  148. DIR     TYPE   │   FORMAT    CHKDSK
  149. COPY    CLS    │   DISKCOPY
  150. ERASE   DATE   │   COMP
  151. RENAME  TIME   │   DISKCOMP
  152.  
  153. **-- Internal DOS Commands -
  154.  
  155. A>DIR B:  - To find out what files are on a diskette in the specified
  156.             drive (B in this example). If just DIR is typed and entered,
  157.             a listing of files in the default drive (A in this case) will be
  158.             displayed.
  159.  
  160. A>DIR B:/P - Displays list of files one screen at a time
  161.  
  162. A>DIR B:/W - Displays list of files using the entire width of the screen
  163.  
  164.  
  165. NOTE: The  /P  and  /W  options shown above for the DIR command are called
  166.       command switches.  Most DOS commands have a variety of switches to alter
  167.       the core command.                                                         
  168.  
  169.  
  170. A>COPY A:filename.ext B: -  To copy one file from Disk A to Disk B
  171.  
  172. A>DEL B:filename.ext - To remove the specified file from the disk in
  173.                        the specified drive.
  174.  
  175. A>DATE  - To change the system date.  This date will be "stamped" on each
  176.           file created or edited.
  177.  
  178. A>TIME  - To change the system time.
  179.  
  180. A>CLS  - To clear the screen
  181.  
  182.  
  183. **-- External DOS Commands -  DOS Disk required in Drive A or Hard Drive
  184.  
  185. A>FORMAT B:  - Prepares a new disk in Drive B for use on the IBM PC.  If an
  186.                old disk is used, it will erase its contents.  (Follow on-
  187.                screen directions)
  188.  
  189. A>FORMAT B:/S - Same as above, BUT ALSO Installs the INTERNAL DOS
  190.                 commands on the new disk.  Thus, this disk is now
  191.                 capable of starting the machine.
  192.  
  193. A>CHKDSK B: - Indicates the number of files and amount of free storage
  194.               space remaining on the disk in drive B.  It also indicates the
  195.               amount of RAM storage.
  196.  
  197. A>CHKDSK A: /F  - Fix any problems that CHKDSK finds (converts lost clusters
  198.                   to *.CHK files which can later be deleted)
  199.  
  200. A>DISKCOPY A: B:  - Making an exact copy of the diskette in Drive A onto the
  201.                     diskette in Drive B.  (Follow on-screen directions)
  202.  
  203.  
  204. Remember, if the computer is not told differently, it will assume the DEFAULT
  205. drive:
  206.              A>COPY A:sample.wk1 B:
  207.  
  208. is the same as:
  209.  
  210.              A>COPY sample.wk1 B:
  211.  
  212. The "A:" in the first example is redundant.
  213.  
  214.  
  215. *****   END OF FILE:  Press <ESC> to return to Main Menu   *****
  216.